package com.xingu.xg.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class CopyNodeQuery {
    @ApiModelProperty(value = "选中节点ID(复制到哪里去)")
    @NotNull(message = "{selected.node.id.cannot.be.empty}")
    private Integer selectedId;

    @ApiModelProperty("需要复制的节点")
    @Valid
    private List<Integer> list;
}